/* General Settings */

* {
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
}

body {
	font-family: Trebuchet MS;
	text-shadow:0 1px 0 #fff;
}

/* Fonts */

@font-face {
	font-family: "Nevis";
	src: url('/public/Fonts/nevis.ttf') format("truetype")
}

@font-face {
	font-family: "Journal";
	src: url('/public/Fonts/journal.ttf') format("truetype")
}

@font-face {
	font-family: "Handwriting";
	src: url('/public/Fonts/handwriting.ttf') format("truetype")
}

#main {
	margin-left: auto;
	margin-right: auto;
}

/* The Header */

#main  #header {
	width: 100%;
	height: 100px;
	margin-top: auto;
	margin-bottom: auto;
	border-top: 9px solid #C3D9FF;
}

#main  #header #logo {
	float: left;
	width: 300px;
	height: 100%;
	width: 300px;
	height: 100%;
	margin-left: 10px;
}

#main  #header #login {
	float: left;
	width: 450px;
	height: 100%;
	margin-left: 300px;
	margin-top: 17px
}

a {
	text-decoration: none;
	color: #333;
	outline: 0;
}

img {
	outline: 0;
	border: 0;
}




#main 	#menu {
	background-color: #C3D9FF;
	
	height: 52px;
	color: navy;
	font-size: 20px;
	width: 100%;
	
	padding-bottom: 5px;
	
}

#main 	#menu #text {
	background-color: #C3D9FF;
	font-family:Journal;
	font-size:40px;
	padding-bottom: 5px;
	margin-left:500px;
}


/* Main Content */

#main #content {
	width: 100%;
	height: relative;
	margin-top: auto;
	margin-bottom: auto;
	border-top: 3px solid #ff8308;
}


#main #middle{
	
	padding-top:40px;
	width:500px;
	margin-left:auto;
	margin-right:auto;
	height:300px;
	
	}


#main #content #left-section {
	width: 550px;
	margin: 0;
	padding: 1em;
	margin-left: 10px;
	margin-top: 30px;
}

#main  #content #right-content {
	margin-top: 8px;;
	margin-left: 200px;
	margin-right: 50px;
	padding: 1em; Do rounding (native in Safari, Firefox and Chrome)
	-webkit-border-radius : 6px;
	-moz-border-radius: 6px;
	float: right;
	width: 400px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

/* Footer */

#main #footer {
	clear: both;
	background-color: #C3D9FF;
	width: 100%;
	height: 64px;
	border-top: 2px solid;
	color: white;
}

#main #footer #footContent {

	height: 90 px;
	width: auto;
	margin-left: 200px;
	margin-right: auto;
}

/* Stack Menu */

.ui-stackmenu {
	position: relative;
}

.ui-stackmenu-item {
	position: absolute;
}

#stack {
	width: 68px;
	height: 68px;
	padding: 0;
	position: absolute;
	right: 17px;
	top:58px;
	background-color: #C3D9FF;
	-webkit-box-shadow: 0 0 15px #150517;
	-moz-box-shadow: 0 0 15px #150517;
	box-shadow: 0 0 15px #150517;
}

#stack .trigger {
	position: absolute;
	z-index: 50;
	height: 64px;
	width: 64px;
	padding: 2px;
	left: 0;
	top: 0;
	cursor: pointer;
}

#stack ul {
	position: absolute;
	top: 0;
	left: 18px;
	height: 64px;
	width: 32px;
	bottom: 0;
	margin: 0;
	padding: 0;
}

#stack ul li {
	display: block;
	padding: 0px;
	width: 32px;
	height: 32px;
	margin: 6px 0;
}

#stack ul li .title {
	display: none;
}

#stack ul li a:hover .title {
	display: block;
	position: absolute;
	right: 48px;
	top: 8px;
	padding: 1px 8px;
	height: 14px;
	font-size: 11px;
	background-color: #C3D9FF;
	color: #333;
	font-family: Arial, sans-serif;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	font-family: 
}

#stack ul li img {
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 5px #222;
	-webkit-box-shadow: 0 0 5px #222;
	-moz-box-shadow: 0 0 5px #222;
	-o-box-shadow: 0 0 5px #222;
	border: none 0;
	padding: 2px;
	background-color: #fff;
}

#stack ul li a:hover img,#stack ul li a:hover .title {
	box-shadow: 0 0 10px #00a;
	-webkit-box-shadow: 0 0 10px #00a;
	-moz-box-shadow: 0 0 10px #00a;
	-o-box-shadow: 0 0 10px #00a;
}

#stack .trigger {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 0 0 3px #222;
	-webkit-box-shadow: 0 0 3px #222;
	-moz-box-shadow: 0 0 3px #222;
	-o-box-shadow: 0 0 3px #222;
	background-color: #C3D9FF;
}

/* ----------- Form Styles ----------- */

#stylized {
	border: solid 2px #ff7800;
	background: #ebf4fb;
}

h1 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 8px;
	color: navy;
	font-family: Trebuchet MS;
}

#stylized p {
	font-size: 11px;
	color: #666666;
	margin-bottom: 20px;
	border-bottom: solid 1px #b7ddf2;
	padding-bottom: 10px;
}

.stylized label {
	display: block;
	font-weight: bold;
	text-align: right;
	width: 140px;
	float: left;
}

.stylized .small {
	color: #666666;
	display: block;
	font-size: 11px;
	font-weight: normal;
	text-align: right;
	width: 140px;
}

.signUpButton {
	width: 200px;
	margin-left: 12px;
	padding: 3px 4px 3px 4px;
	border: none;
	color: #fff;
	height: 30px;
	cursor: pointer;
	background:#ffb400;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-shadow: 4px 1px #666;
	cursor: pointer;
}

.signUpButton:active {
	background-color: #0033FF;
	padding: 4px 3px 2px 5px;
}

.signInButton {
	width: 80;
	margin-left: 1px;
	padding: 3px 4px 3px 4px;
	color: white;
	font-size: 12px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: #0033FF;
	outline: none;
	border: 1px solid #006600;
	height: 24px;
	font-weight: bold;
}

.signInButton:active {
	background-color: #ff7800;
	padding: 4px 3px 2px 5px;
}

.button {
	padding: 5px 10px;
	display: inline;
	background: #777 url(button.png) repeat-x bottom;
	border: none;
	color: #fff;
	height: 30px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-shadow: 1px 1px #666;
	cursor: pointer;
}

.button:hover {
	background-color: #f7f7f7f7;
}

.button:active {
	background-position: 0 top;
	background-color: #ff7800;
	position: relative;
	top: 1px;
	padding: 6px 10px 4px;
}

.button.red {
	background-color: #0033FF;
}

.signInInput {
	width: 130px;
	height: 24px;
	font-size: 12px;
	border: solid 1px #aacfe4;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	padding: 5px 5px;
}

.input {
	float: left;
	font-size: 12px;
	padding: 2px 2px;
	border: solid 1px #aacfe4;
	width: 300px;
	margin: 2px 0 20px 10px;
	height: 25px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.stylized select {
	float: left;
	font-size: 12px;
	padding: 2px 2px;
	border: solid 1px #aacfe4;
	width: 300px;
	height: 25px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	margin: 2px 0 20px 10px;
	-moz-border-radius: 6px;
}

/* Message Boxes */

.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url('/public/images/MessageBox/success.png');
	border: 1px solid;
	margin: 10px 0px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
}

.error {
	color: #D8000C;
	width: 200px;
	background-color: #FFBABA;
	background-image: url('/public/images/MessageBox/error.png');
	border: 1px solid;
	margin: 10px 0px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
}

.info {
	color: #00529B;
	background-color: #C3D9FF;
	background-image: url('/public/images/MessageBox/info.png');
	border: 1px solid;
	margin: 15px 0px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	width: 565px;
}

/* ToolTip Style */

#tiptip_holder {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

#tiptip_holder.tip_top {
	padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
	padding-top: 5px;
}

#tiptip_holder.tip_right {
	padding-left: 5px;
}

#tiptip_holder.tip_left {
	padding-right: 5px;
}

#tiptip_content {
	font-size: 11px;
	color: #fff;
	text-shadow: 0 0 2px #000;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background-color: rgb(25,25,25);
	background-color: rgba(25,25,25,0.92);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

#tiptip_arrow, #tiptip_arrow_inner {
	position: absolute;
	border-color: transparent;
	border-style: solid;
	border-width: 6px;
	height: 0;
	width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
	border-bottom-color: #fff;
	border-bottom-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
	border-right-color: #fff;
	border-right-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	border-left-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
	margin-top: -7px;
	margin-left: -6px;
	border-top-color: rgb(25,25,25);
	border-top-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
	margin-top: -5px;
	margin-left: -6px;
	border-bottom-color: rgb(25,25,25);
	border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -5px;
	border-right-color: rgb(25,25,25);
	border-right-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -7px;
	border-left-color: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {	
	#tiptip_content {
		padding: 4px 8px 5px 8px;
		background-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_bottom #tiptip_arrow_inner { 
		border-bottom-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_top #tiptip_arrow_inner { 
		border-top-color: rgba(20,20,20,0.92);
	}
}

/* liScroll styles */

.tickercontainer { /* the outer div with the black border */

background-color: transparent;
width: 100%; 
height: 27px; 
margin: 0; 
padding: 0;
overflow: hidden; 
}
.tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
position: relative;
left: 10px;
top: 8px;
width: 100%;
overflow: hidden;
}
ul.newsticker { /* that's your list */
position: relative;
left: 750px;
font: bold 10px Verdana;
list-style-type: none;
margin: 0;
padding: 0;

}
ul.newsticker li {
float: left; /* important: display inline gives incorrect results when you check for elem's width */
margin: 0;
padding: 0;
background: #f7f7f7;
}
ul.newsticker a {
white-space: nowrap;
padding: 0;
color: #ff0000;
font: bold 10px Verdana;
margin: 0 50px 0 0;
} 
ul.newsticker span {
margin: 0 10px 0 0;
} 

